package com.chenyun.system.param;

import com.chenyun.common.vo.QueryPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Lonni
 * @date 2022-06-10 21:51
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "部门前端接收类")
@Builder
public class DeptParam extends QueryPage {
    @ApiModelProperty(value = "部门id,修改删除必传",required = false)
    private Long deptId;
    @ApiModelProperty(value = "上级部门id",required = false)
    private Long parentId=0L;
    /**
     * 祖级列表
     */
    private String ancestors;
    private String deptName;
    private Integer orderNum;
    /**
     * 负责人
     */
    private String leader;
    private String phone;
    private String email;
    /**
     * 部门状态（0正常 1停用）
     */
    private Integer status;


}
